let setting = [
  {
    path: '/setting',
    name: "setting",
    meta: { title: '', login: true },
    redirect: '/setting/index'
  },    
  {
    path: '/setting/index',
    name: "setting_index",
    component:  resolve => require(['@/components/subpage/setting/index.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '基本设置',}
  },
  {
    path: '/setting/app',
    name: "setting_app",
    component:  resolve => require(['@/components/subpage/setting/app.vue'], resolve),
    meta: { title: '设置管理', login: true, model: 'APP首页设置',}
  },
  {
    path: '/setting/category',
    name: "setting_category",
    component:  resolve => require(['@/components/subpage/setting/category.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '类目设置',}
  },
  {
    path: '/setting/shop',
    name: "setting_shop",
    component:  resolve => require(['@/components/subpage/setting/shop.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '店铺设置',}
  },
  {
    path: '/setting/market',
    name: "setting_market",
    component:  resolve => require(['@/components/subpage/setting/market.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '设置管理',}
  },
  {
    path: '/setting/car',
    name: "setting_car",
    component:  resolve => require(['@/components/subpage/setting/car.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '车型库',}
  },
  {
    path: '/setting/brand',
    name: "setting_brand",
    component:  resolve => require(['@/components/subpage/setting/brand.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '设置管理',}
  },
  {
    path: '/setting/bulletin',
    name: "setting_bulletin",
    component:  resolve => require(['@/components/subpage/setting/bulletin.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '公告管理',}
  },
  {
    path: '/setting/detail/bulletin_detail',
    name: "setting_bulletin_detail",
    component:  resolve => require(['@/components/subpage/setting/detail/bulletin_detail.vue'], resolve),
    meta: { title: '公告详情', login: true, isDetail: true, model: '公告详情', reload: true, onCrub: true}
  },
  {
    path: '/setting/settlement',
    name: "setting_settlement",
    component:  resolve => require(['@/components/subpage/setting/settlement.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '结算设置',}
  },
  {
    path: '/setting/mechanism',
    name: "setting_mechanism",
    component:  resolve => require(['@/components/subpage/setting/mechanism.vue'], resolve),
    meta: { title: '机构设置', login: true, model: '机构设置',}
  },
  {
    path: '/setting/giveaway',
    name: "setting_giveaway",
    component:  resolve => require(['@/components/subpage/setting/giveaway.vue'], resolve),
    meta: { title: '赠品设置', login: true, model: '赠品设置',}
  },
  {
    path: '/setting/version',
    name: "setting_version",
    component:  resolve => require(['@/components/subpage/setting/version.vue'], resolve),
    meta: { title: '设置管理', login: true, model: '版本设置',}
  },
];
export default setting